<?php

/**
 * Created by PhpStorm.
 * User: yangchunrun
 * Date: 16/3/21
 * Time: 下午4:05
 */
namespace app\admin\controllers;
use app\api\components\Rpc;
use app\api\components\Validate;
use yii;
use app\admin\components\BaseController;
use yii\helpers\Url;
use app\api\components;
class DefaultController extends BaseController
{
    public function actions()
    {

        return [
            'error' => [
                'class' => 'yii\web\ErrorAction',
            ],
        ];
    }

    public function actionIndex(){

        return $this->render('index');
    }

    public function actionError(){
        return $this->render('error');
    }
}